<?php 
$header=DbTouch("phome_enewstempvar",array("varid"=>1));
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
     <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title><?=$dt['title']?></title>
	<script language="javascript" type="text/javascript" src="<?=$public_r['newsurl']?>/skin/default/js/jquery-1.5.1.min.js"></script>
	<script language="javascript" type="text/javascript" src="<?=$public_r['newsurl']?>/skin/default/js/global.js"></script>
	<script src="<?=$public_r['newsurl']?>skin/jquery.uploadify-v2.1.4/swfobject.js"></script>
	<script src="<?=$public_r['newsurl']?>skin/jquery.uploadify-v2.1.4/jquery.uploadify.v2.1.4.min.js"></script>
	<link href="<?=$public_r['newsurl']?>skin/jquery.uploadify-v2.1.4/uploadify.css" rel="stylesheet" type="text/css" />	
	<link href="<?=$public_r['newsurl']?>skin/default/css/global.css" rel="stylesheet" type="text/css" />	
	<link href="<?=$public_r['newsurl']?>skin/default/css/activity.css" rel="stylesheet" type="text/css" />
	<?php 
		$js=$html_header['js'];
		if(is_array($js)){
			$arrjs=$js;
		}else if(is_string($js)){
			$arrjs=array($js);
		}
		foreach((array)$arrjs as $jsK=>$jsV){
	?>
	<script src="<?=$public_r['newsurl'].$jsV?>"></script>
	<?php }?>
		<?php 
		$css=$html_header['css'];
		if(is_array($css)){
			$arrcss=$css;
		}else if(is_string($css)){
			$arrcss=array($css);
		}
		foreach((array)$arrcss as $cssK=>$cssV){
	?>
		<link href="<?=$public_r['newsurl'].$cssV?>" rel="stylesheet" type="text/css" />
	<?php }?>
</head>
<body>
<div id="header">
 <div id="menus">
<?=str_replace('[!--news.url--]',$public_r['newsurl'],$header['varvalue'])?>
 </div>
</div>
